package com.cn.goodsadmin.dao.impl;

import com.cn.goodsadmin.dao.BaseDao;
import com.cn.goodsadmin.dao.IShareDicDao;
import com.cn.goodsadmin.po.Sharedic;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("ShareDicDaoImpl")
public class ShareDicDaoImpl extends BaseDao<Sharedic> implements IShareDicDao {
    public List<Sharedic> findAllShareDic() throws Exception {
        StringBuilder builder=new StringBuilder();
        builder.append("from Sharedic");
        return find(builder.toString());
    }
}
